/**
 * 
 */
package wong.board.client.widgets;

import wong.board.client.Board;
import wong.board.client.resources.BoardBundle.WidgetsCss;

import com.google.gwt.dom.client.Element;
import com.google.gwt.user.client.DOM;
import com.google.gwt.user.client.ui.Widget;

/**
 * @author wong
 * 
 */
public abstract class Component extends Widget {
	protected static final WidgetsCss css = Board.getBundle().widgetsCss();

	/**
	 * 
	 */
	public Component() {
		setElement(createElement());
	}

	protected Element createElement() {
		return DOM.createDiv();
	}

}
